﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Medianamik.Core
{
    [Serializable]
    public class Breadcrumb
    {
        readonly string _id;
        readonly string _name;

        public Breadcrumb(string id, string name)
        {
            if (String.IsNullOrEmpty(name))
                throw new ArgumentNullException("name");

            _id = id;
            _name = name;
        }

        public string ID
        {
            get { return _id; }
        }

        public string Name
        {
            get { return _name; }
        }
    }
}
